package com.junxonline.instant.dao.entity.dto.ui;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * SelectNode实体类
 *
 * @author JunX
 * @date 2021-07-06
 */
@Data
@AllArgsConstructor
public class SelectNodeDTO implements Serializable {

    /**
     * 唯一标识
     */
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long key;

    /**
     * 值
     */
    private String value;

    /**
     * 标签
     */
    private String title;

}
